{% extends 'base.html' %}
{% load i18n %}
{% load static %}
{% block title %}{% trans '登录' %}{% endblock %}

{% block boby %}
<div class="container-fluid">
    <div class="d-flex align-items-center justify-content-center" style="height: 80vh;">
        <div class="card border-0" style="">
            <div class="card-body">
                <div class="shadow">
                    <div class="p-2 bg-light"><i class="fa fa-user-check"></i> {% trans '中国科技云通行证账户登录' %}</div>
                    <div>
                        <iframe height="300" width="280" frameborder="0" style="border:0 solid;" scrolling="no" src="{{ kjy_url }}"></iframe>
                    </div>
                    {% if use_local_login %}
                    <div class="border-top">
                        <a class="btn btn-sm" href="{% url 'users:local_login' %}{% if next %}?next={{ next }}{% endif %}"><i class="fa fa-share"></i> <i class="fa fa-user"></i> {% trans '本地账号登录' %}</a>
                    </div>
                    {% endif %}
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
